home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 106 / RG2001 / RG2001.ISO / demos / Sam / Serious Sam Demo / Scripts / GLSettings / Initial.ini < prev    next >
Encoding:
Text File  |  2001-02-20  |  1.8 KB  |  90 lines

  1.  
  2. // set all rendering console variables to initial values
  3.  
  4. Echo( "GLSET: Initial setup.\n");
  5.  
  6. ogl_bUseCompiledVertexArrays = 101;
  7. ogl_iUseTextureUnits = 4;
  8. ogl_bFastRendering   = 1;
  9. ogl_bFastUploading   = 1;
  10. ogl_bFastStateChange = 1;
  11. ogl_bFastFog = 1;
  12. ogl_iFinish  = 1;
  13. ogl_iVSyncsToWait = 0;
  14. ogl_bExclusive    = 0;
  15. ogl_bIgnoreErrors = 1;
  16. ogl_bAllowSingleMipmap      = 0;
  17. ogl_bAllowProjectiveMapping = 1;
  18. ogl_bAllowQuadArrays        = 0;
  19. ogl_tmDelayDepthReads  = 1;
  20. ogl_fTextureAnisotropy = 1;
  21. ogl_iTextureFiltering  = 21;
  22. ogl_fTextureLODBias    = 0;
  23. ogl_iTextureCompressionType = 1;
  24.  
  25. mdl_fLODMul = 1;
  26. mdl_fLODAdd = 0;
  27. mdl_iLODDisappear     = 1;
  28. mdl_bRenderBump       = 1;
  29. mdl_bRenderDetail     = 1;
  30. mdl_bRenderSpecular   = 1;
  31. mdl_bRenderReflection = 1;
  32. mdl_bFineQuality   = 1;
  33. mdl_iShadowQuality = 1;
  34.  
  35. wld_iDetailRemovingBias = 3;
  36. wld_bTextureLayers = 111;
  37. wld_bRenderMirrors = 1;
  38.  
  39. tex_iDynamicMipmaps = 8;
  40. tex_fForceNoCompression = 6;
  41. tex_bFineFog = 1;
  42. tex_iDithering = 3;
  43. tex_iFiltering = -1;
  44. tex_iEffectFiltering = 3;
  45. tex_bProgressiveFilter = 1;
  46.  
  47. shd_iFiltering = 3;
  48. shd_iDithering = 1;
  49. shd_bAllowDynamic = 1;
  50. shd_bCacheAll = 0;
  51.  
  52. gfx_iLensFlareQuality = 3;
  53. gfx_bClearScreen = 0;
  54. gfx_iRefreshRate = 0;
  55. gfx_bDisableMultiMonSupport = 1;
  56. gfx_tmProbeDecay = 30;
  57. gfx_fProbeRatio  = 0.3;
  58.  
  59. gam_bPretouch = 0;
  60.  
  61.  
  62. // setup memory size
  63.  
  64. extern INDEX iQualityIndex = 0;  // undetermined
  65.  
  66. if( sys_iRAMPhys>160)
  67. {
  68.   iQualityIndex = 5;   // >=192 MB, 64MB video
  69. }
  70.  
  71. else if( sys_iRAMPhys>128)
  72. {
  73.   iQualityIndex = 4;   // 160-192 MB, 32MB video
  74. }
  75.  
  76. else if( sys_iRAMPhys>96)
  77. {
  78.   iQualityIndex = 3;   // 128-160 MB, 16 MB video
  79. }
  80.  
  81. else if( sys_iRAMPhys>60)
  82. {
  83.   iQualityIndex = 2;   // 64-96 MB, 4-8 MB video
  84. }
  85.  
  86. else
  87. {
  88.   iQualityIndex = 1;   // <64 MB, <4 MB video
  89. }
  90.